﻿@model MvcBugTrack.Models.Bug
@using MvcBugTrack.Models

@{
    ViewBag.Title = "Details";
    BugTrackContext db = new BugTrackContext();
    
}

<h2>Details</h2>

<fieldset>
    <legend>Bug</legend>

    <div class="display-label">ShortDescription</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ShortDescription)
    </div>

    <div class="display-label">Project</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Project)
    </div>

    <div class="display-label">Category</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Category)
    </div>

    <div class="display-label">Priority</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Priority)
    </div>

    <div class="display-label">Status</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Status)
    </div>

    <div class="display-label">AssignedTo</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AssignedTo)
    </div>

    <div class="display-label">ReportedBy</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ReportedBy)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
